package com.isunland.managesystem.ui;

import com.isunland.managesystem.R;
import com.isunland.managesystem.base.BaseNetworkDialogFragment;
import com.isunland.managesystem.common.ApiConst;
import com.isunland.managesystem.entity.CustomerDialog;
import java.util.ArrayList;

/**
 * 对象功能:
 * 开发公司: 北京信普达系统工程有限公司
 * 开发人员: wangyanan
 * 创建时间: 2017/4/8 13:59
 */
public class LevelNetworkDialogFragment extends BaseNetworkDialogFragment {
  @Override public String getUrl() {
    return ApiConst.URL_QUERY_LIST_ISPAY;
  }

  @Override public ArrayList<CustomerDialog> resolveResponse(String arg0) {
    ArrayList<CustomerDialog> list = new ArrayList<>();
    String level = getString(R.string.level);
    for (int i = 1; i < 11; i++) {
      list.add(new CustomerDialog(level + i, String.valueOf(i)));
    }
    return list;
  }
}
